<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-partner_id" class="control-label col-xs-12 col-sm-2">{:__('Partner_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[partner_id]" value=""  id="c-partner_id" class="form-control typeahead "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-role_id" class="control-label col-xs-12 col-sm-2">{:__('Role_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[role_id]" value="0"  id="c-role_id" class="form-control typeahead " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-area_id" class="control-label col-xs-12 col-sm-2">{:__('Area_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[area_id]" value="0"  id="c-area_id" class="form-control typeahead " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-editor_id" class="control-label col-xs-12 col-sm-2">{:__('Editor_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[editor_id]" value="0"  id="c-editor_id" class="form-control typeahead " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-editor_id" class="control-label col-xs-12 col-sm-2">{:__('Wx_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[wx_id]" value=""  id="c-wx_id" class="form-control" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-level" class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[level]" value="0"  id="c-level" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-star" class="control-label col-xs-12 col-sm-2">{:__('Star')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[star]" value="0"  id="c-star" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[username]" value=""  id="c-username" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[nickname]" value=""  id="c-nickname" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-password" class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[password]" value=""  id="c-password" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-salt" class="control-label col-xs-12 col-sm-2">{:__('Salt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[salt]" value=""  id="c-salt" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-email" class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[email]" value=""  id="c-email" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[mobile]" value=""  id="c-mobile" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-avatar" class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input type="text" name="row[avatar]" value=""  id="c-avatar" class="form-control  "required data-plupload-id="plupload-avatar-text" size="50" />
                <span><button id="plupload-avatar" class="btn btn-danger plupload" ><i class="fa fa-upload"></i> {:__("Upload")}</button></span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-gender" class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[gender]" value="0"  id="c-gender" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[birthday]" value=""  id="c-birthday" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-score" class="control-label col-xs-12 col-sm-2">{:__('Score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[score]" value="0"  id="c-score" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-feeds" class="control-label col-xs-12 col-sm-2">{:__('Feeds')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[feeds]" value="0"  id="c-feeds" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-follows" class="control-label col-xs-12 col-sm-2">{:__('Follows')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[follows]" value="0"  id="c-follows" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-fans" class="control-label col-xs-12 col-sm-2">{:__('Fans')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[fans]" value="0"  id="c-fans" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-prevtime" class="control-label col-xs-12 col-sm-2">{:__('Prevtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="datetime" name="row[prevtime]" value="0"  id="c-prevtime" class="form-control datetimepicker   " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-loginfailure" class="control-label col-xs-12 col-sm-2">{:__('Loginfailure')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="row[loginfailure]" value="0"  id="c-loginfailure" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-logintime" class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="datetime" name="row[logintime]" value="0"  id="c-logintime" class="form-control datetimepicker   " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-loginip" class="control-label col-xs-12 col-sm-2">{:__('Loginip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[loginip]" value=""  id="c-loginip" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-joinip" class="control-label col-xs-12 col-sm-2">{:__('Joinip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[joinip]" value=""  id="c-joinip" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label for="c-jointime" class="control-label col-xs-12 col-sm-2">{:__('Jointime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="datetime" name="row[jointime]" value="0"  id="c-jointime" class="form-control datetimepicker   " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-address" class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[address]" value=""  id="c-address" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-receiver" class="control-label col-xs-12 col-sm-2">{:__('Receiver')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[receiver]" value=""  id="c-receiver" class="form-control  " />
        </div>
    </div>
    <div class="form-group">
        <label for="c-token" class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[token]" value=""  id="c-token" class="form-control  "required />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_status();}
        </div>
    </div>
    <div class="form-group hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>
